package com.py.od.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * inventory对象 wh_inventory
 * 
 * @author py
 * @date 2024-12-10
 */
public class WhInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long inventoryQueryId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String productCode;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long currentInventory;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String locationCode;

    /** 库存金额 */
    @Excel(name = "库存金额")
    private BigDecimal inventoryValue;

    /** 待入库 */
    @Excel(name = "待入库")
    private Long pendingIn;

    /** 待出库 */
    @Excel(name = "待出库")
    private Long pendingOut;

    /** 可用库存金额 */
    @Excel(name = "可用库存金额")
    private BigDecimal availableInventoryValue;

    /** 库存上限 */
    @Excel(name = "库存上限")
    private Long inventoryUpperLimit;

    /** 库存下限 */
    @Excel(name = "库存下限")
    private Long inventoryLowerLimit;

    @Override
    public String toString() {
        return "WhInventory{" +
                "inventoryQueryId=" + inventoryQueryId +
                ", productCode='" + productCode + '\'' +
                ", warehouseCode='" + warehouseCode + '\'' +
                ", currentInventory=" + currentInventory +
                ", locationCode='" + locationCode + '\'' +
                ", inventoryValue=" + inventoryValue +
                ", pendingIn=" + pendingIn +
                ", pendingOut=" + pendingOut +
                ", availableInventoryValue=" + availableInventoryValue +
                ", inventoryUpperLimit=" + inventoryUpperLimit +
                ", inventoryLowerLimit=" + inventoryLowerLimit +
                '}';
    }

    public void setInventoryQueryId(Long inventoryQueryId)
    {
        this.inventoryQueryId = inventoryQueryId;
    }

    public Long getInventoryQueryId() 
    {
        return inventoryQueryId;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setCurrentInventory(Long currentInventory) 
    {
        this.currentInventory = currentInventory;
    }

    public Long getCurrentInventory() 
    {
        return currentInventory;
    }
    public void setLocationCode(String locationCode) 
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode() 
    {
        return locationCode;
    }
    public void setInventoryValue(BigDecimal inventoryValue) 
    {
        this.inventoryValue = inventoryValue;
    }

    public BigDecimal getInventoryValue() 
    {
        return inventoryValue;
    }
    public void setPendingIn(Long pendingIn) 
    {
        this.pendingIn = pendingIn;
    }

    public Long getPendingIn() 
    {
        return pendingIn;
    }
    public void setPendingOut(Long pendingOut) 
    {
        this.pendingOut = pendingOut;
    }

    public Long getPendingOut() 
    {
        return pendingOut;
    }
    public void setAvailableInventoryValue(BigDecimal availableInventoryValue) 
    {
        this.availableInventoryValue = availableInventoryValue;
    }

    public BigDecimal getAvailableInventoryValue() 
    {
        return availableInventoryValue;
    }
    public void setInventoryUpperLimit(Long inventoryUpperLimit) 
    {
        this.inventoryUpperLimit = inventoryUpperLimit;
    }

    public Long getInventoryUpperLimit() 
    {
        return inventoryUpperLimit;
    }
    public void setInventoryLowerLimit(Long inventoryLowerLimit) 
    {
        this.inventoryLowerLimit = inventoryLowerLimit;
    }

    public Long getInventoryLowerLimit() 
    {
        return inventoryLowerLimit;
    }

}
